{extend name="layout"/}

{block name="breadcrumb"}
<h2>用户详情</h2>
<ol class="breadcrumb">
    <li><a href="{:url('index/index')}">首页</a></li>
    <li><a href="{:url('index')}">用户列表</a></li>
    <li><strong>用户详情</strong></li>
</ol>
{/block}

{block name="main"}
<div class="ibox float-e-margins">
    <div class="ibox-title">
        <h5>用户详情</h5>
    </div>
    <div class="ibox-content">
        <div class="table-responsive">
            <table class="table table-striped table-bordered detail-view">
                <tbody>
                <tr>
                    <th width="25%">ID</th>
                    <td>{$model.id}</td>
                </tr>
                <tr>
                    <th>openid</th>
                    <td>{$model.openid}</td>
                </tr>
                <tr>
                    <th>昵称</th>
                    <td>{$model.nickname}</td>
                </tr>
                <tr>
                    <th>头像</th>
                    <td><img src="{$model.head_img}" alt="" width="80" height="80"></td>
                </tr>
                <tr>
                    <th>分享键（唯一）</th>
                    <td>{$model.share_key}</td>
                </tr>
                <tr>
                    <th>手机号码</th>
                    <td>{$model.phone}</td>
                </tr>
                <tr>
                    <th>积分总额</th>
                    <td>{$model.sum}</td>
                </tr>
                <tr>
                    <th>积分余额</th>
                    <td>{$model.integral}</td>
                </tr>
                <tr>
                    <th>性别</th>
                    <td>{$model.sex}</td>
                </tr>
                <tr>
                    <th>地区</th>
                    <td>
                        <notempty name="model.country">
                                {$model.country}-{$model.province}-{$model.city}
                        <else />
                                {$model.address}
                        </notempty>
                    </td>
                </tr>
                <tr>
                    <th>微信昵称</th>
                    <td>{$model.nickname}</td>
                </tr>
                <tr>
                    <th>绑定iphone</th>
                    <td>{$model.device_info}</td>
                </tr>
                <tr>
                    <th>个性签名</th>
                    <td>{$model.signature}</td>
                </tr>
                <tr>
                    <th>是否自动播放视频</th>
                    <td>{$model.autoplay}</td>
                </tr>
                <tr>
                    <th>状态</th>
                    <td>{$model.status}</td>
                </tr>
                <tr>
                    <th>创建时间</th>
                    <td>{$model.create_time}</td>
                </tr>
                <tr>
                    <th>修改时间</th>
                    <td>{$model.update_time}</td>
                </tr>
                </tbody>
            </table>
        </div>

    </div>
</div>
{/block}